package com.example.springboottest.student.service;

import com.example.springboottest.student.model.Student;
import org.springframework.data.domain.Page;

import java.util.ArrayList;
import java.util.List;

public interface StuService {
    List<Student> doFindALl();

    void doDeleteById(String id);

    void doCreate(Student student);

    void doUpdate(Student student);

    void idoUpdate(Student student);

    Student doFindById(String id);

    void doUpdateLock(Student student);

    Page<Student> doPage();

    String doLock();

    default List<Student> doFindALlByCrusor() {
        return new ArrayList<>();
    }
}